/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service;

import java.util.List;

import com.sasis.service.Manager;
import com.sasis.model.ConsumeProduct;

public interface ConsumeProductManager extends Manager {
    /**
     * Retrieves all of the consumeProducts
     */
    public List getConsumeProducts(ConsumeProduct consumeProduct);

    /**
     * Gets consumeProduct's information based on id.
     * @param id the consumeProduct's id
     * @return consumeProduct populated consumeProduct object
     */
    public ConsumeProduct getConsumeProduct(final String id);

    /**
     * Saves a consumeProduct's information
     * @param consumeProduct the object to be saved
     */
    public void saveConsumeProduct(ConsumeProduct consumeProduct);

    /**
     * Removes a consumeProduct from the database by id
     * @param id the consumeProduct's id
     */
    public void removeConsumeProduct(ConsumeProduct consumeProduct);
}

